package com.asd.map.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "map_apply对象", description = "应用实体")
@TableName("map_apply")
public class Map_apply {


    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;

//    @TableField("应用名称")
    @ApiModelProperty(value = "应用名称")
    private String map_name;

//    @TableField("map_lable")
    @ApiModelProperty(value = "应用标签")
    private String map_lable;

//    @TableField("map_desc")
    @ApiModelProperty(value = "应用描述")
    private String map_desc;

//    @TableField("map_link")
    @ApiModelProperty(value = "应用图片")
    private String map_link;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date create_time;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date update_time;

//    @TableField("data")
    @ApiModelProperty(value = "数据源id集")
    private String data;

    @ApiModelProperty(value = "视野")
    private String view;

    @ApiModelProperty(value = "底图")
    private String baseLayer;
}
